﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///Agv点位匹配表
    ///</summary>
    [SugarTable("Sys_AgvMap")]
    public partial class Sys_AgvMap
    {
           public Sys_AgvMap(){

            this.Name =Convert.ToString("");
            this.Code =Convert.ToString("");
            this.PLCAddress =Convert.ToString("");
            this.Enum =Convert.ToInt32("0");
            this.DeviceType =Convert.ToInt32("0");
            this.MapType =Convert.ToInt32("0");
            this.IsValid =false;
            this.Remark =Convert.ToString("");
            this.CreateTime =DateTime.Now;

           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:点位编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Code {get;set;}

           /// <summary>
           /// Desc:PLC对应地址
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PLCAddress {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Enum {get;set;}

           /// <summary>
           /// Desc:设备类型
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int DeviceType {get;set;}

           /// <summary>
           /// Desc:地图类型（0：入料，1：出料）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int MapType {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsValid {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

    }
}
